package com.unknow.first.dapp.admin.account.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
@ConfigurationProperties(prefix = "system.address-account")
@Data
public class AddressAccountProperties {

    private List<String> rpcUrls = new ArrayList<>(); // rpc地址列表
    private String routerAddress; // 路由合约地址(用于获取价格,手续费的时候要用到)
    private String withdrawPrivateKey;  // 提现签名私钥,为了便于管理全局用同一个,配置中心要进行二重加密
//    private String withdrawContract;    //提现合约地址

}
